package com.example.demo.core.exception;

import cn.hutool.core.util.StrUtil;

public class BizException extends RuntimeException {
    public BizException(String message) {
        super(message);
        if (StrUtil.isBlank(message)) throw new IllegalArgumentException("异常信息不能为空");
    }
}
